package com.xfz.service;

import com.xfz.Mapper.SupplierMapper;
import com.xfz.Mapper.UserMapper;
import com.xfz.User.Supplier;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SupplierService {
    @Autowired
    SupplierMapper supplierMapper;
    public List<Supplier> findAllSuppliers() {
        return supplierMapper.findAllSuppliers();
    }
}
